include "TQuery.thrift"
namespace java com.iqiyi.pps.epg.api.model.web.program


struct TProgramDirector{
    1:i32 id;
    2:i64 programQipuId;
    3:string programName;
    4:string startPlayTime;
    5:string stopPlayTime;
    6:i32 source;
    7:i32 delay;
    8:string outputUrl;
    9:string outputPreviewUrl;
    10:string outputStreamType;
    11:i32 playStatus;
    12:string addTime;
    13:i32 resourceId;
    14:string opUser;
    15:string imgUrl;
    16:string previewStreamUrl;
	17:i32 mainResourceId;
}

struct TProgramDirectorResource{
    1:i32 id;
    2:i32 directorId;
    3:i64 programQipuId;
    4:i32 signalType;
    5:string signalId;
    6:string snapshotUrl;
    7:i32 isBackup;
    8:i32 isDefaultBackup;
    9:string signalName;
    10:string signalUrl;
    11:string signalPreviewUrl;
    12:string productStatusUrl;
    13:string addTime;
    14:string opUser;
    15:i64 signalLegoId;
    16:i32 playCounts;
}

struct TProgramDirectorLog {
    1:i64 id;
    2:i32 directorId;
    3:i32 type;
    4:string descr;
    5:string user;
    6:string addTime;
}

struct TProgramDirectorPage {
    1:TQuery.TPage tPage;
    2:list<TProgramDirector> result;
}

struct TProgramDirectorResourcePage {
    1:TQuery.TPage tPage;
    2:list<TProgramDirectorResource> result;
}

struct TProgramDirectorLogPage {
    1:TQuery.TPage tPage;
    2:list<TProgramDirectorLog> result;
}

struct TProgramDirectorEffect{
    1:i32 id;
    2:i32 directorId;
    3:i64 programQipuId;
    4:string url;
    5:string name;
    6:string extraInfo;
    7:string location;
    8:i32 status;
    9:string opUser;
    10:string addTime;
    11:i32 type;
}

struct TProgramDirectorCommentary{
    1:i32 id;
    2:i32 directorId;
    3:i64 programQipuId;
    4:string name;
    5:string streamUrl;
    6:i32 status;
    7:string addTime;
    8:i32 volumn;
}